package com.lizhi.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lizhi.menu.Dto.AddressDto;
import com.lizhi.menu.domain.Address;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author lizhi
 * @date 2023-05-18
 */
@Mapper
public interface AddressMapper extends BaseMapper<Address> {

    /**
     * 查询地址列表
     *
     * @param dto  地址
     * @param page
     * @return 地址集合
     */
    Page<Address> selectAddressList(@Param("page") Page<Address> page, @Param("dto") AddressDto dto);
}
